package com.itheima.mobile.service;

import com.itheima.common.entity.Result;
import com.itheima.mobile.dto.OrderDto;

public interface IOrderService {
    /**
     * 提交订单
     * @param orderDto
     * @return
     */
    Result submitOrder(OrderDto orderDto);

    /**
     * 根据id查询订单
     * @param id
     * @return
     */
    Result findById(String id);
}
